﻿namespace HY.Common
{
    public class LogInfo
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID { get; set; }
        /// <summary>
        /// 日志类型
        /// </summary>
        public LogType LogType { get; set; }
        /// <summary>
        /// 日志信息
        /// </summary>
        public object LogMessage { get; set; }
    }

    public enum LogType
    {
        Other = 0,
        Insert = 1,
        Update = 2,
        Select = 3,
        Delete = 4,
        Login = 5,
        Logout = 6,
    }
}
